package com.zkthink.ceres.cms.service;

import com.zkthink.base.service.SuperCacheService;
import com.zkthink.ceres.cms.dto.CmsTemplateUpdateDTO;
import com.zkthink.ceres.cms.entity.CmsTemplate;

/**
 * <p>
 * 业务接口 装修配置表
 * </p>
 *
 * @author kellen
 * @date 2020-05-16
 */
public interface CmsTemplateService extends SuperCacheService<CmsTemplate> {

  /**
   * 查询装修配置
   */
  CmsTemplate getCmsTemplate(String tenantCode);

  CmsTemplate getCmsTemplate();


  void update(CmsTemplateUpdateDTO cmsTemplateUpdateDTO);

  CmsTemplate getAppCmsTemplate(String tenantCode);


  CmsTemplate getStoreTemplate(Long storeId);

  boolean isHasAdd();
}
